package main

import (
	"fmt"
	"net/http"
)

func Hello(respW http.ResponseWriter, req *http.Request){
	fmt.Println("hello head ")
	fmt.Fprintf(respW, "hello cici")
	//respW.Write([]byte("hello jt"))
}
func main()  {
	http.HandleFunc("/",Hello)
	err := http.ListenAndServe("localhost:8888", nil)
	if err !=nil {
		fmt.Println("http listen failed", err)
	}
}
